/**
 * FileName: BaseEntity
 * Author: zlz
 * CreatedDate: 2025/2/26 14:44:02
 * Description: 基础crud数据类
 * Version: 1.0.0
 */
package com.zlz.base.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author zlz
 * @date 2025/2/26 14:44:02
 * @description 基础数据字段
 */
@Data
public class BaseEntity {

    @TableField(fill = FieldFill.INSERT)
    protected String creator;

    @TableField("created_time")
    protected LocalDateTime createdTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    protected String modifier;

    @TableField("last_modified_time")
    protected LocalDateTime lastModifiedTime;
}
